.class Lrexsee/location/RexseeMapAbc$MapDialog$1;
.super Ljava/lang/Object;
.source "RexseeMapAbc.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/location/RexseeMapAbc$MapDialog;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lrexsee/location/RexseeMapAbc$MapDialog;


# direct methods
.method constructor <init>(Lrexsee/location/RexseeMapAbc$MapDialog;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/location/RexseeMapAbc$MapDialog$1;->this$1:Lrexsee/location/RexseeMapAbc$MapDialog;

    .line 826
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 9
    .param p1, "v"    # Landroid/view/View;
    .param p2, "event"    # Landroid/view/MotionEvent;

    .prologue
    const/4 v8, 0x1

    const v7, 0x49742400    # 1000000.0f

    const/4 v6, 0x0

    .line 829
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-eq v3, v8, :cond_0

    move v3, v6

    .line 834
    :goto_0
    return v3

    .line 830
    :cond_0
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc$MapDialog$1;->this$1:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v3, v3, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v3}, Lcom/mapabc/mapapi/MapView;->getProjection()Lcom/mapabc/mapapi/Projection;

    move-result-object v3

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v4

    float-to-int v4, v4

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v5

    float-to-int v5, v5

    invoke-interface {v3, v4, v5}, Lcom/mapabc/mapapi/Projection;->fromPixels(II)Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v2

    .line 831
    .local v2, "point":Lcom/mapabc/mapapi/GeoPoint;
    invoke-virtual {v2}, Lcom/mapabc/mapapi/GeoPoint;->getLongitudeE6()I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v3, v7

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v1

    .line 832
    .local v1, "longitude":Ljava/lang/String;
    invoke-virtual {v2}, Lcom/mapabc/mapapi/GeoPoint;->getLatitudeE6()I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v3, v7

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v0

    .line 833
    .local v0, "latitude":Ljava/lang/String;
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc$MapDialog$1;->this$1:Lrexsee/location/RexseeMapAbc$MapDialog;

    # getter for: Lrexsee/location/RexseeMapAbc$MapDialog;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v3}, Lrexsee/location/RexseeMapAbc$MapDialog;->access$0(Lrexsee/location/RexseeMapAbc$MapDialog;)Lrexsee/core/browser/Browser;

    move-result-object v3

    iget-object v3, v3, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v4, "onMapClicked"

    const/4 v5, 0x2

    new-array v5, v5, [Ljava/lang/String;

    aput-object v1, v5, v6

    aput-object v0, v5, v8

    invoke-virtual {v3, v4, v5}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    move v3, v6

    .line 834
    goto :goto_0
.end method
